package com.ruoyi.fjzt.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.time.LocalDate;
import java.util.Date;

/**
 * 房间状态对象 tb_fjgl_fjzt1
 * 
 * @author ruoyi
 * @date 2023-11-18
 */
@Data
public class TbFjglFjzt1 extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @JsonProperty
    /** 编号 */
    private Long ID;

    /** 温度 */
    @Excel(name = "温度")
    private Double wd;

    /** 湿度 */
    @Excel(name = "湿度")
    private Double sd;

    /** 人数 */
    @Excel(name = "人数")
    private Long rs;

    /** 房间状态 */
    @Excel(name = "房间状态")
    private String fjzt;
    private LocalDate rq;
    private int flag;

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public LocalDate getRq() {
        return rq;
    }

    public void setRq(LocalDate rq) {
        this.rq = rq;
    }

    public void setID(Long ID)
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setWd(Double wd) 
    {
        this.wd = wd;
    }

    public Double getWd() 
    {
        return wd;
    }
    public void setSd(Double sd) 
    {
        this.sd = sd;
    }

    public Double getSd() 
    {
        return sd;
    }
    public void setRs(Long rs) 
    {
        this.rs = rs;
    }

    public Long getRs() 
    {
        return rs;
    }
    public void setFjzt(String fjzt) 
    {
        this.fjzt = fjzt;
    }

    public String getFjzt() 
    {
        return fjzt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("wd", getWd())
            .append("sd", getSd())
            .append("rs", getRs())
            .append("fjzt", getFjzt())
            .toString();
    }


}
